package java9;

public class Code124 {
	public static void main(String[] args) {

		for(int i=1;i<=20;i++){

			for(int j=1;j<=20;j++){
				if(i==1||i==20){
					System.out.print("*");	
				}else{
					if(j==1||j==20){
						System.out.print("*");
					}else{
						System.out.print(" ");
					}	
				}
			}
			System.out.println("");
		}
	}
}
